package com.ytkj.digitalConstruction.socketio;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.corundumstudio.socketio.AckRequest;
import com.corundumstudio.socketio.SocketIOClient;
import com.corundumstudio.socketio.listener.DataListener;

public class ChatListener implements DataListener<ChatObj>{

	Logger logger = LoggerFactory.getLogger(getClass());

	@Override
	public void onData(SocketIOClient client, ChatObj data, AckRequest ackSender) throws Exception {
		
		logger.info("socket 消息传送,data:"+data);
	
	}
	
	
}
